/**
 * 接口列表文件
 */
export default {

  index: {
    userauth: {
      url: 'api/index/userauth',
      auth: true,
      method: 'POST'
    },
    getLogo: {
      url: 'api/user/getLogo',
      auth: true,
      method: 'POST'
    },
    checkAttclassStatsu: {
      url: '/api/resources/checkAttclassStatsu',
      auth: true,
      method: 'POST'
    },
    //获取视频高清信息
    getplayInfo: {
      url: '/api/course.course/getplayInfo',
      auth: true,
      method: 'POST'
    },
    //获取培训课程附件url
    getEnclosureUrl: {
      url: '/api/course.user_study_speed/getEnclosureUrl',
      auth: true,
      method: 'POST'
    },

  },

  login: {
    index: {
      url: '/api/user/login',
      auth: false,
      method: 'POST'
    },
    changMobile: {
      url: '/api/user/changMobile',
      auth: false,
      method: 'POST'
    },

    sms: {
      url: '/api/sms/send',
      auth: false,
      method: 'POST'
    },
    resetpwd: {
      url: '/api/user/resetpwd',
      auth: false,
      method: 'POST'
    },
    logout: {
      url: 'api/login/logout',
      auth: false,
      method: 'POST'
    },
    quickLogin: {
      url: 'api/login/quickLogin',
      auth: false,
      method: 'POST'
    }
  },
  // 个人资料
  user: {
    //解绑第三方-通用接口
    relieve: {
      url: '/api/user/relieve',
      auth: true,
      method: 'POST'
    },
    //微信扫码登录第一步
    pc_third_login_url: {
      url: '/api/user/pc_third_login_url',
      auth: true,
      method: 'POST'
    },
    //微信扫码登录第二步
    pc_third_login: {
      url: '/api/user/pc_third_login',
      auth: true,
      method: 'POST'
    },
    //qq登录第一步
    pc_qq_login_url: {
      url: '/api/user/pc_qq_login_url',
      auth: true,
      method: 'POST'
    },
    //qq登录第二步
    pc_qq_login: {
      url: '/api/user/pc_qq_login',
      auth: true,
      method: 'POST'
    },
    //第三方绑定手机号
    binging: {
      url: '/api/user/binging',
      auth: true,
      method: 'POST'
    },
    //获取个人信息
    getuser: {
      url: '/api/user/getuser',
      auth: true,
      method: 'POST'
    },
    //获取任课科目
    subject: {
      url: '/api/grades_subject/index',
      auth: true,
      method: 'POST'
    },
    //获取授课班级列表
    grades: {
      url: '/api/grades/getGradesList',
      auth: true,
      method: 'POST'
    },
    edituser: {
      url: '/api/user/edituser',
      auth: true,
      method: 'POST'
    },
    resetpwd: {
      url: 'api/user/resetpwd',
      auth: true,
      method: 'POST'
    },
    resetpwd1: {
      url: 'api/user/resetpwd',
      auth: true,
      method: 'POST'
    },
    resetpwd11: {
      url: 'api/user/resetpwd',
      auth: true,
      method: 'POST'
    },
    resetpwd111: {
      url: 'api/user/resetpwd',
      auth: true,
      method: 'POST'
    }
  },
  // 消息
  message: {
    index: {
      url: 'api/message/index',
      auth: true,
      method: 'POST'
    },
    show: {
      url: 'api/message/show',
      auth: true,
      method: 'POST'
    },
    getmessageStatus: {
      url: 'api/message/getmessageStatus',
      auth: true,
      method: 'POST'
    }
  },
  // 反馈信息
  feedback: {
    add: {
      url: 'api/feedback/add',
      auth: true,
      method: 'POST'
    }
  },
  // 上传文件
  common: {
    upload: {
      url: 'api/common/oss_upload',
      auth: true,
      method: 'POST'
    }
  },
  // 云课程分类
  cloud: {
    class: {
      url: 'api/cloud.cloud_class/index',
        auth: true,
        method: 'POST'
    },
    room: {
      url: 'api/cloud.cloud_room/index',
      auth: true,
      method: 'POST'
    },
    getdata: {
      url: '/api/cloud.cloud_room/getdata',
      auth: true,
      method: 'POST'
    },

  },

  // 课程资源
  resources: {
    getKindList: {
      url: 'api/resources/getKindList',
      auth: true,
      method: 'POST'
    },
    getDirList: {
      url: 'api/resources/getDirList',
      auth: true,
      method: 'POST'
    },
    getTagsList: { //获取当前章节课件
      url: 'api/resources/getTagsList',
      auth: true,
      method: 'POST'
    },
    getResourcesList: { //获取当前章节课件
      url: 'api/resources/getResourcesList',
      auth: true,
      method: 'POST'
    },
    takeBclassInfo: { //提交/编辑 备课资源
      url: 'api/resources/takeBclassInfo',
      auth: true,
      method: 'POST'
    },
    myBclassList: { //我的备课列表/回收站
      url: 'api/resources/myBclassList',
      auth: true,
      method: 'POST'
    },
    delBclass: { //删除备课包
      url: 'api/resources/delBclass',
      auth: true,
      method: 'POST'
    },
    delShare: { //删除我的分享
      url: 'api/resources/delShare',
      auth: true,
      method: 'POST'
    },
    getShareList: { //共享资源包/我的共享资源包  列表
      url: 'api/resources/getShareList',
      auth: true,
      method: 'POST'
    },
    share: { //添加共享/修改共享
      url: 'api/resources/share',
      auth: true,
      method: 'POST'
    },

    beikelist: { //共享资源包/我的共享资源包  列表
      url: 'api/resources/beikelist',
      auth: true,
      method: 'POST'
    },

    dellist: { //回收站列表
      url: 'api/resources/dellist',
      auth: true,
      method: 'POST'
    },
    delback: { //回收站列表
      url: 'api/resources/delback',
      auth: true,
      method: 'POST'
    },
    delall: {
      url: 'api/resources/delall',
      auth: true,
      method: 'POST'
    },

    getBcalssInfoList: { //查看备课包资源
      url: 'api/resources/getBcalssInfoList',
      auth: true,
      method: 'POST'
    },
    downZip: { //下载备课包
      url: 'api/resources/downZip',
      auth: true,
      method: 'POST'
    },
    jieyazip: { //上传备课包
      url: 'api/resources/jieyazip',
      auth: true,
      method: 'POST'
    },
    setWeigh: { //置顶资源包
      url: 'api/resources/setWeigh',
      auth: true,
      method: 'POST'
    },
    oneCheck: { // 一键引用
      url: 'api/resources/onecheck',
      auth: true,
      method: 'POST'
    },
    quoteClass: { // 备课包一键引用
      url: 'api/resources/quoteClass',
      auth: true,
      method: 'POST'
    },
    classbegins: { // 上课之前检测是否有未退出
      url: '/api/resources/classbegins',
      auth: true,
      method: 'POST'
    },

  },
  // 资源中心
  ziyuan: {
    getKindList: { //获取类别列表
      url: 'api/ziyuan/getKindList',
      auth: true,
      method: 'POST'
    },

    getKindItemList: {
      url: 'api/ziyuan/getKind_itemList',
      auth: true,
      method: 'POST'
    },
    getFileType: { //获取类别列表
      url: 'api/ziyuan/getFileType',
      auth: true,
      method: 'POST'
    },
    getZiyuanList: { //获取当前类别课件
      url: 'api/ziyuan/getZiyuanList',
      auth: true,
      method: 'POST'
    },
    getDirZiyuanList:{
      url: 'api/ziyuan/getDirZiyuanList',
      auth: true,
      method: 'POST'
    },

    //获取当前类别课件 2022-02-10 邓晓航新增
    getZiyuanInfo: {
      url: 'api/ziyuan/getZiyuanInfo',
      auth: true,
      method: 'POST'
    },
    //2022-02-08 邓晓航新增
    getKeywordZiyuanList: {
      url: 'api/ziyuan/getKeywordZiyuanList',
      auth: true,
      method: 'POST'
    },
    getMyZiyuanList: { //获取我收藏的课件
      url: 'api/ziyuan/getMyZiyuanList',
      auth: true,
      method: 'POST'
    },
    getbeiMyZiyuanList: { //获取我收藏的课件--备课
      url: 'api/ziyuan/getbeiMyZiyuanList',
      auth: true,
      method: 'POST'
    },
    addCollection: { //获取我收藏的课件
      url: 'api/ziyuan/addCollection',
      auth: true,
      method: 'POST'
    },
    setCount: {
      url: 'api/ziyuan/setCount',
      auth: true,
      method: 'POST'
    }
  }, //我的空间
  space: {
    groupList: {
      url: 'api/user_space/groupList',
      auth: true,
      method: 'POST'
    },
    addGroup: {
      url: 'api/user_space/addGroup',
      auth: true,
      method: 'POST'
    },
    delGroup: {
      url: 'api/user_space/delGroup',
      auth: true,
      method: 'POST'
    },
    editGroup: {
      url: 'api/user_space/editGroup',
      auth: true,
      method: 'POST'
    },
    updSpaceFile: {
      url: 'api/user_space/updSpaceFile',
      auth: true,
      method: 'POST'
    },
    spaceUseInfo: {
      url: 'api/user_space/spaceUseInfo',
      auth: true,
      method: 'POST'
    },
    spaceFileList: {
      url: 'api/user_space/spaceFileList',
      auth: true,
      method: 'POST'
    },
    //上传备课包
    userUploads: {
      url: '/api/resources/jieyazip',
      auth: true,
      method: 'POST'
    },
    userDelFile: {
      url: '/api/user_space/delFile',
      auth: true,
      method: 'POST'
    }


  },
  // 学生
  student: {
    addStudent: {
      url: 'api/student/addStudent',
      auth: true,
      method: 'POST'
    },
    editStudent: {
      url: 'api/student/editStudent',
      auth: true,
      method: 'POST'
    },
    delStudent: {
      url: 'api/student/delStudent',
      auth: true,
      method: 'POST'
    },
    //获取学生信息
    index: {
      url: 'api/student/index',
      auth: true,
      method: 'POST'
    },
    //获取授课班级
    classlist: {
      url: '/api/grades/classlist',
      auth: true,
      method: 'POST'
    },
    //一键导入
    import: {
      url: '/api/student/import',
      auth: true,
      method: 'POST'
    },
    //一键导出/批量导出
    export: {
      url: '/api/student/export',
      auth: true,
      method: 'POST'
    },
    //下载导入模板
    downXls: {
      url: '/api/student/downXls',
      auth: true,
      method: 'POST'
    },
    studentList: {
      url: '/api/student/studentList',
      auth: false,
      method: 'POST'
    },
    oneCheck: {
      url: '/api/student/oneCheck',
      auth: false,
      method: 'POST'
    },
    editStudentLog: {
      url: '/api/student/editStudentLog',
      auth: false,
      method: 'POST'
    },
    studentLogList: {
      url: '/api/student/studentLogList',
      auth: false,
      method: 'POST'
    },
    Random: {
      url: '/api/student/Random',
      auth: false,
      method: 'POST'
    },

  },
  //获取班级列表
  grades: {
    index: {
      url: 'api/grades/index',
      auth: true,
      method: 'POST'
    },
    classlist: {
      url: 'api/grades/classlist',
      auth: true,
      method: 'POST'
    },
    //画笔使用记录
    drawlog: {
      url: '/api/resources/drawlog',
      auth: true,
      method: 'POST'
    },
    //倒计时使用记录
    countdownlog: {
      url: '/api/resources/countdownlog',
      auth: true,
      method: 'POST'
    },
    //结束上课
    endClass: {
      url: '/api/resources/endattendclass',
      auth: true,
      method: 'POST'
    },
    //获取备课班级列表
    getGrades: {
      url: '/api/resources/getGrades',
      auth: true,
      method: 'POST'
    },
    //抽答点赞
    randStastu: {
      url: '/api/student/randStastu',
      auth: true,
      method: 'POST'
    },
    //转换文件分组
    transgroup: {
      url: '/api/user_space/transgroup',
      auth: true,
      method: 'POST'
    },

  },
  //培训模块
  getCourseList: {
    //全部课程/精品课程
    index: {
      url: '/api/course.course/getList',
      auth: true,
      method: 'POST'
    },
    //我的课程
    getUserList: {
      url: '/api/course.user_study_speed/getList',
      auth: true,
      method: 'POST'
    },
    //报名
    addUserStudySign: {
      url: '/api/course.user_study_speed/addUserStudySign',
      auth: true,
      method: 'POST'
    },
    //课程分类
    getCategoryList: {
      url: '/api/course.course/getCategoryList',
      auth: true,
      method: 'POST'
    },
    //页面banner图
    banner: {
      url: '/api/banner/index',
      auth: true,
      method: 'POST'
    },
    //学习进度
    study_speed: {
      url: '/api/course.user_study_speed/getUserList',
      auth: true,
      method: 'POST'
    },
    //学习进度小章节进度
    small_speed: {
      url: '/api/course.user_study_speed/getContentSpeed',
      auth: true,
      method: 'POST'
    },
    //获取课程详情
    getUserStudyInfo: {
      url: '/api/course.user_study_speed/getUserStudyInfo',
      auth: true,
      method: 'POST'
    },
    //考试练习详情左侧,获取课程下所有试卷
    getTopicList: {
      url: '/api/course.course_topic/getTopicList',
      auth: true,
      method: 'POST'
    },
    //获取试卷详情及考题类型数量和分数
    getTopicInfo: {
      url: '/api/course.course_topic/getTopicInfo',
      auth: true,
      method: 'POST'
    },
    //获取试卷考题/获取试卷考试解析
    getWxTopicCardList: {
      url: '/api/course.course_topic/getWxTopicCardList',
      auth: true,
      method: 'POST'
    },
    //课程支付接口
    payorder1: {
      url: '/api/course.course/payorder',
      auth: true,
      method: 'POST'
    },
    //交卷接口
    addUserTopic: {
      url: '/api/course.course_topic/addUserTopic',
      auth: true,
      method: 'POST'
    },
    //答题结果
    analysis: {
      url: '/api/course.course_topic/analysis',
      auth: true,
      method: 'POST'
    },
    //付费课程详情
    courseinfo: {
      url: '/api/course.course/courseinfo',
      auth: true,
      method: 'POST'
    },
    //付费课程支付
    payorder: {
      url: '/api/course.course/payorder',
      auth: true,
      method: 'POST'
    },
    //观看视频时长
    getplaytime: {
      url: '/api/course.user_study_speed/getplaytime',
      auth: true,
      method: 'POST'
    },
    //更新学习视频进度
    updateStudy: {
      url: '/api/course.user_study_speed/updateStudy',
      auth: true,
      method: 'POST'
    },
    //查询微信支付订单状态
    checkorder: {
      url: '/api/course.course/checkorder',
      auth: true,
      method: 'POST'
    },
    //课程权限,课程是否显示
    getauth: {
      url: '/api/course.user_study_speed/getauth',
      auth: true,
      method: 'POST'
    },
    //顺序播放
    checkstudyorder: {
      url: '/api/course.user_study_speed/checkstudyorder',
      auth: true,
      method: 'POST'
    },
    //顺序播放
    getplayInfo: {
      url: '/api/course.course/getplayInfo',
      auth: true,
      method: 'POST'
    },


  },
  getResource: {
    url: '/api/resources/checkResourcese',
    auth: true,
    method: 'POST'
  },
  getResources: {
    url: '/api/cloud.cloud_room/checkResourcese',
    auth: true,
    method: 'POST'
  },




};
